-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: add workflows #63
Conversation
b9d5bd8
to
6a393d6
Compare
.github/workflows/on-push.yml
Outdated
- name: Setup Python | ||
uses: ./.github/actions/setup-python | ||
- name: PyTest | ||
run: poetry run pytest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sehyod @sergioramos Let's change this line to look only in the test directory for now. It shouldn't matter here, but if you run this line as is in our repo, pytest picks up a lot of other things that aren't truly tests.
run: poetry run pytest | |
run: poetry run pytest python/tests |
I tried to push a change up to test this, but I don't have workflow
scope on the repo.
! [remote rejected] initial-ci-cd -> initial-ci-cd (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/on-push.yml` without `workflow` scope)
error: failed to push some refs to 'https://github.com/refstudio/refstudio'
- id: cached-poetry-dependencies | ||
uses: actions/cache@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would try removing the cache until we get a full workflow running properly, and then we can add it back in.
@sehyod @sergioramos Looking at the logs from this workflow, it does not seem like the Python dependencies are being installed via poetry. Is there a way to verify? I'd expect there to be some install dialog in the section below. Maybe something with the dependency caching we are using? ![]() |
59ab4a3
to
18b68c8
Compare
1b302d7
to
1cbe2d0
Compare
This reverts commit 0edcbf5.
1cbe2d0
to
f06a339
Compare
Fixes #10