Skip to content

Commit

Permalink
Improve CI (commune-sh#27)
Browse files Browse the repository at this point in the history
<!--
Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.
-->
  • Loading branch information
avdb13 committed Feb 21, 2024
1 parent e874673 commit 6fe0c04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,10 @@ jobs:
- name: Create a copy of `.env.example`
run: just dotenv

- name: Set environment variable
run: sed -i "s/DOCKER_USER='.*'/DOCKER_USER='$(id -u):$(id -g)'/" .env

- name: Use Test Homeserver
run: |
mkdir -p ./docker/synapse
>>>>>>> 99bc162 (Improve CI (#27))
cp ./crates/test/fixtures/synapse/* ./docker/synapse

- name: Run Docker Containers
Expand All @@ -77,6 +76,7 @@ jobs:
run: |
just get_access_token
grep 'COMMUNE_SYNAPSE_ADMIN_TOKEN' .env | sed "s/'//g" >> $GITHUB_ENV
- name: E2E Tests
env:
COMMUNE_SYNAPSE_ADMIN_TOKEN: ${{ env.COMMUNE_SYNAPSE_ADMIN_TOKEN }}
Expand Down

0 comments on commit 6fe0c04

Please sign in to comment.